package com.xinqing.test.flink.datastream.model;

/**
 * @Author:CHQ
 * @Date:2021/4/21 10:21
 * @Description
 */
public class Student {

    private String sid;
    private int chineseScore;
    private int mathScore;
    private Long timestamp;

    public Student(String sid, int chineseScore, int mathScore, Long timestamp) {
        this.sid = sid;
        this.chineseScore = chineseScore;
        this.mathScore = mathScore;
        this.timestamp = timestamp;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public int getChineseScore() {
        return chineseScore;
    }

    public void setChineseScore(int chineseScore) {
        this.chineseScore = chineseScore;
    }

    public int getMathScore() {
        return mathScore;
    }

    public void setMathScore(int mathScore) {
        this.mathScore = mathScore;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid='" + sid + '\'' +
                ", chineseScore=" + chineseScore +
                ", mathScore=" + mathScore +
                ", timestamp=" + timestamp +
                '}';
    }
}
